package com.sinothk.cloud.mq.websocket.service.impl;

import com.sinothk.cloud.mq.websocket.bean.IMBean;
import com.sinothk.cloud.mq.websocket.service.WebSocketIMService;
import org.springframework.stereotype.Service;

@Service("webSocketIMService")
public class WebSocketIMServiceImpl implements WebSocketIMService {
    @Override
    public void sendMsg(IMBean imBean) throws Exception{
        // 根据toId找到
        System.out.println("IM sendMsg(WebSocketIMBean imBean)");
    }

    @Override
    public void sendMsgToMany(IMBean imBean) throws Exception{
        System.out.println("IM sendMsgToMany(WebSocketIMBean imBean)");
    }
}
